﻿
<div ng-controller="TopController">

    <div class="section mb10 clearfix">
        <h3>{{timeNow}}</h3>
        <ul class="infoTable clearfix">
            <li>
                {{texts['lb-forgot-stamp-number']}} :
            </li>
            <li>
                {{rowsTotalForGetCheck.length == 0 ? 0 : rowsTotalForGetCheck[0].TotalForGotCheck}}
            </li>
        </ul>
        <ul class="infoTable clearfix">
            <li>
                {{texts['lb-working-visa']}}:
            </li>
            <li>
                {{rowsTotalVisaEpx.length == 0 ? 0 : rowsTotalVisaEpx[0].VisaExp }}
            </li>
            <li>
                {{texts['lb-working-visa-note']}}
            </li>
        </ul>
        <p>{{texts['lb-time-attendance']}}</p>
    </div>

    <div class="element tableKind-01" ng-repeat="s in sl">
        <table class="w100">
            <tr>
                <td class="title-tableTop " colspan="4">{{s.StoreName}}</td>
            </tr>
            <tr>
                <th>{{texts['lb-staff-name']}}</th>
                <th>{{texts['lb-check-in']}}</th>
                <th>{{texts['lb-check-out']}}</th>
                <th>{{texts['lb-startus']}}</th>
            </tr>
            <tr ng-repeat="e in getEmployee(s.StoreID)">
                <td>{{e.StaffName}}</td>
                <td>{{e.CheckIn}}</td>
                <td>{{e.CheckOut}}</td>
                <td>{{e.CheckOut == ""?"During work":"Come home"}}</td>
            </tr>
        </table>
    </div>

</div>